#ifndef LOAN_H
#define LOAN_H

#include <iostream>
#include <string>
#include <sstream>
#include <time.h>
#include "Entry.h"

using namespace std;
//@author U095387X
class Loan: public Entry{
	//Attributes
private:
	time_t _timeOfRecord;
	string _remark;

public:
	Loan();
	Loan (string name, double amount, time_t timeOfRecord, string remark);
	Loan (string name, double amount, time_t timeOfRecord, time_t timeOfInput, string remark);
	Loan( string name, string objectString, string remark);
	time_t getTimeOfRecord();
	string getRemark();
	string serialize();
};

#endif